<template>
  <div class="exhibitions">
    <el-container>
      <!--    右侧通过封面图进行展示-->
      <el-main>
        <el-card class="item" style="height: 450px">
          <template #header>
            <div class="card-header">
              <span>文化展</span>
            </div>
          </template>
          <div class="content">
            <img src="https://img-blog.csdnimg.cn/b6bba773a5c947d8ab97df2a75f365f3.jpeg" style="width: 250px;height: 350px" title="点击显示详情"/>
          </div>
        </el-card>
        <el-card class="item" style="height: 450px">
          <template #header>
            <div class="card-header">
              <span>文物展</span>
            </div>
          </template>
          <div class="content">
            <img src="https://img-blog.csdnimg.cn/6bb813c8e0fc43d996eff21aba413027.jpeg" style="width: 250px;height: 350px" title="点击显示详情"/>
          </div>
        </el-card>
        <el-card class="item" style="height: 450px">
          <template #header>
            <div class="card-header">
              <span>文创展</span>
              <!--          <el-button class="button" text>Operation button</el-button>-->
            </div>
          </template>
          <div class="content">
            <img src="https://img-blog.csdnimg.cn/a0343db80b994003af763c78e8f03d9a.jpeg" style="width: 250px;height: 350px" title="点击显示详情"/>
          </div>
        </el-card>
        <el-card class="item" style="height: 450px">
          <template #header>
            <div class="card-header">
              <span>艺术展</span>
            </div>
          </template>
          <div class="content">
            <img src="https://img-blog.csdnimg.cn/c13810dbb8ef4a0b9c5cc7e5b083efff.jpeg" style="width: 250px;height: 350px" title="点击显示详情"/>
          </div>
        </el-card>
        <el-card class="item" style="height: 450px">
          <template #header>
            <div class="card-header">
              <span>主题展</span>
              <!--          <el-button class="button" text>Operation button</el-button>-->
            </div>
          </template>
          <div class="content">
            <img src="https://img-blog.csdnimg.cn/5310258d8562430cb1018000cc477ae4.jpeg" style="width: 250px;height: 350px" title="点击显示详情"/>
          </div>
        </el-card>
      </el-main>
    </el-container>
<!--    左侧通过栏目排列-->

  </div>

</template>

<script>
export default {
  data() {
    return {
      activeName: 'second'
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
};
</script>

<style scoped>
.item{
  width:400px;
  margin:5px 5px;
}

.area{
  width: 260px;
  height: 360px;
  margin-right: 6px;
}
.el-aside{
  background-color: #d9ecff;
  height: 450px;
}
.el-main{
  background-color:#ecf5ff;
  height: 500px;
  display: flex;
  margin-bottom: 10px;
}

.common-layout{
  text-align: center;
}

.content{

  float: left;
  position: relative;
  /*box-shadow: 3px 3px 10px #666;*/
  overflow:hidden;
}
</style>